package calendar;

import java.util.Calendar;

/*
    static Calendar getInstance()
 */
public class CalendarDemo {
    public static void main(String[] args) {
        //创建日历对象
        Calendar calendar = Calendar.getInstance();//GregorianCalendar
        System.out.println("calendar = " + calendar);//指向的时间是现在
    }
}
